home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / bash / bash_108 / bash-108.zoo / bash-1.08 / config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-08-22  |  3.3 KB  |  112 lines

  1. /* config.h -- Configuration file for bash. */
  2.  
  3. /* Copyright (C) 1987,1991 Free Software Foundation, Inc.
  4.  
  5.    This file is part of GNU Bash, the Bourne Again SHell.
  6.  
  7.    Bash is free software; you can redistribute it and/or modify it
  8.    under the terms of the GNU General Public License as published by
  9.    the Free Software Foundation; either version 1, or (at your option)
  10.    any later version.
  11.  
  12.    Bash is distributed in the hope that it will be useful, but WITHOUT
  13.    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  14.    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
  15.    License for more details.
  16.  
  17.    You should have received a copy of the GNU General Public License
  18.    along with Bash; see the file COPYING.  If not, write to the Free
  19.    Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
  20.  
  21. #ifndef _CONFIG_
  22. #define _CONFIG_
  23.  
  24. #ifndef VOID
  25. #ifdef NO_VOID
  26. #define VOID char
  27. #else
  28. #define VOID void
  29. #endif
  30. #endif
  31.  
  32. #if defined (__GNUC__)
  33. #  if !defined (HAVE_ALLOCA)
  34. #    define HAVE_ALLOCA
  35. #  endif /* HAVE_ALLOCA */
  36. #  define alloca __builtin_alloca
  37. #else
  38. #  if defined (HAVE_ALLOCA_H)
  39. #    if !defined (HAVE_ALLOCA)
  40. #      define (HAVE_ALLOCA)
  41. #    endif /* HAVE_ALLOCA */
  42. #    if !defined (BUILDING_MAKEFILE)
  43. #      include <alloca.h>
  44. #    endif
  45. #  endif /* HAVE_ALLOCA_H */
  46. #endif /* __GNUC__ */
  47.  
  48. #if defined (HPUX) || (UNIXPC) || defined (Xenix)
  49. #  if !defined (USG)
  50. #    define USG
  51. #  endif
  52. #endif
  53.  
  54. /* Make the change from SYSV to USG painless.
  55.    USG stands for Unix Systems Group.  I don't know what they have to
  56.    do with systems that are similar to System V. */
  57. #if defined (SYSV) && !defined (USG)
  58. #  define USG
  59. #endif
  60.  
  61. #if defined (HAVE_UNISTD_H) && !defined (BUILDING_MAKEFILE)
  62. #include <unistd.h>
  63. #endif
  64.  
  65. /* Define JOB_CONTROL if your operating system supports
  66.    BSD-like job control. */
  67. #define JOB_CONTROL
  68.  
  69. /* Note that vanilla System V machines don't support BSD job control, 
  70.    although some do support Posix job control. */
  71. #if defined (USG) && !defined (_POSIX_JOB_CONTROL)
  72. #undef JOB_CONTROL
  73. #endif /* USG */
  74.  
  75. /* Define ALIAS if you want the alias features. */
  76. #define ALIAS
  77.  
  78. /* Define PUSHD_AND_POPD if you want those commands to be compiled in.
  79.    (Also the `dirs' commands.) */
  80. #define PUSHD_AND_POPD
  81.  
  82. /* Define READLINE to get the nifty/glitzy editing features.
  83.    This is on by default.  You can turn it off interactively
  84.    with the -nolineediting flag. */
  85. #define READLINE
  86.  
  87. /* If READLINE is defined, right now we assume that you have the full
  88.    source code.  If you simply have the library and header files installed,
  89.    then undefine HAVE_READLINE_SOURCE. */
  90. #if defined (READLINE)
  91. #  define HAVE_READLINE_SOURCE
  92. #endif /* READLINE */
  93.  
  94. /* The default value of the PATH variable. */
  95. #define DEFAULT_PATH_VALUE \
  96.     ":/usr/gnu/bin:/usr/local/bin:/usr/ucb:/bin:/usr/bin:/etc:/usr/etc"
  97.  
  98. /* Define V9_ECHO if you want to give the echo builtin backslash-escape
  99.    interpretation, in the style of the Bell Labs 9th Edition version of
  100.    echo. */
  101. #define V9_ECHO
  102.  
  103. /* Defined CONTINUE_AFTER_KILL_ERROR if you want the kill command to
  104.    continue processing arguments after one of them fails. */
  105. #define CONTINUE_AFTER_KILL_ERROR
  106.  
  107. /* Define BREAK_COMPLAINS if you want the incompatible, but useful
  108.    error messages about `break' and `continue' out of context. */
  109. #define BREAK_COMPLAINS
  110.  
  111. #endif    /* _CONFIG_ */
  112.